package io.renren.modules.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import io.renren.modules.contract.dao.CorporateCheckingDao;
import io.renren.modules.contract.entity.CorporateCheckingEntity;
import io.renren.modules.contract.service.CorporateCheckingService;



@Service("corporateCheckingService")
public class CorporateCheckingServiceImpl implements CorporateCheckingService {
	@Autowired
	private CorporateCheckingDao corporateCheckingDao;
	
	@Override
	public CorporateCheckingEntity queryObject(Long id){
		return corporateCheckingDao.queryObject(id);
	}

	@Override
	public CorporateCheckingEntity queryMoney(String projectId) {
		return corporateCheckingDao.queryMoney(projectId);
	}

	@Override
	public List<CorporateCheckingEntity> queryList(Map<String, Object> map){
		return corporateCheckingDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return corporateCheckingDao.queryTotal(map);
	}
	
	@Override
	public void save(CorporateCheckingEntity corporateChecking){
		corporateCheckingDao.save(corporateChecking);
	}
	
	@Override
	public void update(CorporateCheckingEntity corporateChecking){
		corporateCheckingDao.update(corporateChecking);
	}
	
	@Override
	public void delete(Long id){
		corporateCheckingDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		corporateCheckingDao.deleteBatch(ids);
	}
	
}
